package lab02.test26;

public class ExceptionTest {
    public static void main(String[] args) {
        try {
            int a=6/0;
        }catch (ArithmeticException e){
            System.out.println("除数为0");
        }finally {
            System.out.println("这是最终会执行的代码");
        }
    }
}
